package com.cinc.ebc.mm.vo;

import java.util.List;
import com.cinc.ebc.mm.entity.MmMaterialPicking;
import com.cinc.ebc.mm.entity.MmMaterialPickingDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 材料领用
 * @Author: jeecg-boot
 * @Date:   2023-04-16
 * @Version: V1.0
 */
@Data
@ApiModel(value="mm_material_pickingPage对象", description="材料领用")
public class MmMaterialPickingPage {

	/**主键ID*/
	@ApiModelProperty(value = "主键ID")
    private java.lang.String id;
	/**单据号*/
	@Excel(name = "单据号", width = 15)
	@ApiModelProperty(value = "单据号")
    private java.lang.String billNo;
	/**单据日期*/
	@Excel(name = "单据日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "单据日期")
    private java.util.Date billDate;
	/**库房*/
	@Excel(name = "库房", width = 15, dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
    @Dict(dictTable = "mdm_warehouse", dicText = "warehouse_name", dicCode = "id")
	@ApiModelProperty(value = "库房")
    private java.lang.String warehouseId;
	/**业务类型*/
	@Excel(name = "业务类型", width = 15, dicCode = "mm_material_picking_bill_type")
    @Dict(dicCode = "mm_material_picking_bill_type")
	@ApiModelProperty(value = "业务类型")
    private java.lang.String billType;
	/**领用人*/
	@Excel(name = "领用人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@ApiModelProperty(value = "领用人")
    private java.lang.String receiver;
	/**领用部门*/
	@Excel(name = "领用部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
	@ApiModelProperty(value = "领用部门")
    private java.lang.String receiverDept;
	/**项目*/
	@Excel(name = "项目", width = 15, dictTable = "quote_project", dicText = "project_name", dicCode = "id")
    @Dict(dictTable = "quote_project", dicText = "project_name", dicCode = "id")
	@ApiModelProperty(value = "项目")
    private java.lang.String projectId;
	/**制单人*/
	@Excel(name = "制单人", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@ApiModelProperty(value = "制单人")
    private java.lang.String maker;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "mm_material_picking_status")
    @Dict(dicCode = "mm_material_picking_status")
	@ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
	@ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
	@Excel(name = "租户ID", width = 15)
	@ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;

	@ExcelCollection(name="材料领用明细")
	@ApiModelProperty(value = "材料领用明细")
	private List<MmMaterialPickingDetail> mmMaterialPickingDetailList;

}
